package com.ruoyi.djb.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼座管理对象 djb_building
 * 
 * @author xxd
 * @date 2023-12-08
 */
public class DjbBuilding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 楼层名称 */
    @Excel(name = "楼层名称")
    private String name;

    /** 单元 */
    @Excel(name = "单元")
    private Integer unit;

    /** 楼层 */
    @Excel(name = "楼层")
    private Integer floor;

    /** 房间 */
    @Excel(name = "房间")
    private Integer room;

    /** 小区ID */
    @Excel(name = "小区ID")
    private Integer districtId;

    private String keeper;

    private int minFloor;

    private int minRoom;

    private String address;

    private int type;

    private String mobile;

    private Integer visit;

    public Integer getVisit() {
        return visit;
    }

    public void setVisit(Integer visit) {
        this.visit = visit;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getMinFloor() {
        return minFloor;
    }

    public void setMinFloor(int minFloor) {
        this.minFloor = minFloor;
    }

    public int getMinRoom() {
        return minRoom;
    }

    public void setMinRoom(int minRoom) {
        this.minRoom = minRoom;
    }

    public String getKeeper() {
        return keeper;
    }

    public void setKeeper(String keeper) {
        this.keeper = keeper;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUnit(Integer unit) 
    {
        this.unit = unit;
    }

    public Integer getUnit() 
    {
        return unit;
    }
    public void setFloor(Integer floor) 
    {
        this.floor = floor;
    }

    public Integer getFloor() 
    {
        return floor;
    }
    public void setRoom(Integer room) 
    {
        this.room = room;
    }

    public Integer getRoom() 
    {
        return room;
    }
    public void setDistrictId(Integer districtId) 
    {
        this.districtId = districtId;
    }

    public Integer getDistrictId() 
    {
        return districtId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("unit", getUnit())
            .append("floor", getFloor())
            .append("room", getRoom())
            .append("districtId", getDistrictId())
            .toString();
    }
}
